package com.zhejiangzhengyuan.municipal_common.entity.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author :linju
 * @create on : 2019/12/4
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OneWayCaseNoHandVo对象", description="用于对一路一档案件管理中的未派单结果查询的封装")
public class OneWayCaseNoHandVo {

    @TableId
    private Long id;

    @ApiModelProperty(value = "巡检事件表id")
    private  Long iid;

    @ExcelProperty(value = "案件编号")
    @ApiModelProperty(value = "案件编号")
    private Long cid;

    @ExcelProperty(value = "数据来源")
    @ApiModelProperty(value = "数据来源")
    private String dataOrigin;

    @ExcelProperty(value = "问题道路或桥梁code")
    @ApiModelProperty(value = "问题道路或桥梁位置")
    private String facilityId;

    @ExcelProperty(value = "异常状态")
    @ApiModelProperty(value = "异常状态")
    private String reason;

    @ExcelProperty(value = "上报时间")
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ApiModelProperty(value = "上报时间")
    private Date createTime;

    @ExcelProperty(value = "完成时间")
    @DateTimeFormat("yyyy年MM月dd日HH时mm分ss秒")
    @ApiModelProperty(value = "完成时间")
    private Date updateTime;

    @ExcelProperty(value = "上报人")
    @ApiModelProperty(value = "上报人")
    private String name;

    @ExcelProperty(value = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    private String link;

}
